/**
 * ownCloud - Music app
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author Morris Jobke <hey@morrisjobke.de>
 * @copyright Morris Jobke 2013, 2014
 */

#controls {
	height: 66px;
	padding: 0 20px 0 20px;
}

#controls, #controls * {
	display: none;
}

#controls.started, #controls.started * {
	display: inline-block;
}

#controls > img.right {
	position: absolute;
	top: 0;
	right: 0;
}

#controls .control {
	height: 52px;
	width: 52px;
	padding: 10px;
	margin: 9px 2px 5px;
	cursor: pointer;

	/* opacity */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	filter: alpha(opacity = 40);
	opacity: .4;
}

#play-controls {
	height: 66px;
	margin-left: 40px;
}

#controls .control.small {
	height: 44px;
	width: 44px;
	margin: 13px 2px 9px;
}

#controls .control:hover, #controls .control:focus {
	/* opacity */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity = 100);
	opacity: 1;
}

#controls .albumart {
	position: absolute;
	left: 213px;
	top: 0;
	height: 50px;
	width: 50px;
	margin: 8px 12px 8px 46px;
	line-height: 50px;
	font-size: 28px;
}

#controls .song-info {
	height: 58px;
	margin: 0 4px 4px 4px;
	padding: 8px;
	max-width: 400px;
	position: absolute;
	top: 0;
	left: 313px;
}

#controls .song-info span {
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	vertical-align: top;
}

#controls .title {
	font-weight: bold;
	font-size: 21px;
	line-height: 29px;
}

#controls .progress-info {
	position: absolute;
	top: 0px;
	left: 710px;
	right: 170px;
	max-width: 350px;
	text-align: center;
	margin: 7px auto 14px auto;
}

#controls .progress-info span {
	line-height: 30px;
}

#controls .progress, #controls .seek-bar {
	width: 100%;
	height: 15px;
	position: relative;
	background-color: #eee;
}

#controls.started .progress, #controls.started .seek-bar, #controls.started .play-bar, #controls .buffer-bar {
	display: block;
}

#controls .play-bar, #controls .buffer-bar {
	position: absolute;
	left: 0;
	top: 0;
	height: 15px;
	width: 0%;
	background-color: #1d2d44;
}

#controls .buffer-bar {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
	filter: alpha(opacity = 10);
	opacity: 0.1;
}

#shuffle, #repeat {
	position: absolute;
	top: 0;
	right: 0;
}

#shuffle {
	right: 55px;
}

#controls .active {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity = 100);
	opacity: 1;
}

#controls .volume-control {
	position: absolute;
	right: 172px;
}

.ie.lte9 #controls .volume-control {
	display: none;
}

#controls #volume-icon {
	cursor: default;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	filter: alpha(opacity = 40);
	opacity: .4;
	position: absolute;
	top: 0;
	left: 0;
}

#controls .volume-control input[type=range] {
	position: absolute;
	width: 58px;
	height: 3px;
	min-height: 3px;
	top: 31px;
	left: 21px;
	margin: 0;
	-webkit-appearance: none;
	background-color: silver;
	transform: rotate(270deg);
}

.ie #controls .volume-control input[type=range] {
	height:auto;
	top: 3px;
	left: 26px;
	background-color: transparent;
}

::-webkit-slider-thumb {
	-webkit-appearance: none;
	background-color: #666;
	border-radius: 100%;
	width: 10px;
	height: 10px;
}

:hover::-webkit-slider-thumb {
	cursor: pointer;
}

::-moz-range-thumb {
	-moz-appearance: none;
	background-color: #666;
	border-radius: 100%;
	width: 10px;
	height: 10px;
}

:hover::-moz-range-thumb {
	cursor: pointer;
}
